package com.atguigu.serviceedu.client;

import com.atguigu.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-order")
public interface IsBuyCourseClient {
    @GetMapping("/eduorder/order/isBuyCourse/{courseId}/{memberId}")
    public int isBuyCourse(@PathVariable("courseId") String courseId,
                         @PathVariable("memberId") String memberId);
}
